﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.DataCollection.Model
{
    public class CommPoint
    {
        /// <summary>
        /// DB块地址
        /// </summary>
        public int BlockAddress { get; set; }

        /// <summary>
        /// DB块长度
        /// </summary>
        public int BlockLength { get; set; }

        /// <summary>
        /// 点位序号
        /// </summary>
        public int ItemNo { get; set; }

        /// <summary>
        /// 点位地址
        /// </summary>
        public string? ItemAddress { get; set; }

        /// <summary>
        /// 点位数据类型(C#)
        /// </summary>
        public string? ItemType { get; set; }

        /// <summary>
        /// 是否订阅
        /// </summary>
        public bool SubItem { get; set; }
    }
}